package com.zzyl.service;

import cn.hutool.db.PageResult;
import com.zzyl.base.PageResponse;
import com.zzyl.dto.ReservationDto;
import com.zzyl.vo.CountVo;
import com.zzyl.vo.ReservationVo;

import java.time.LocalDateTime;
import java.util.List;

public interface CustomerReservationService {
    Integer cancelledCount(Long userId);

    List<CountVo> countByTime(LocalDateTime of);

    void add(ReservationDto reservationDto);

    PageResponse<ReservationVo> page(Integer pageNum, Integer pageSize, Integer status);

    void cancel(Long id);
}
